<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
	#ie6cover{
		width: 100%;
		height: 100%;
		background: #ccc;
		position: absolute;
		z-index: 100;
		top: 0px;
		left: 0px;
		font-size: 50px;
		line-height: 500px;
		text-align: center;
		font-family: 微软雅黑;
		display: none;
	}
</style>
<script type="text/javascript">
// window.onload =function(){

// }
</script>

</head>

<body>
	<div id="ie6cover">为了更好的用户体验，我们拒绝ie6用户的访问！</div>
	<img src="fanke.gif" alt="" />


	<!--[if IE 6]>

<script type="text/javascript">
	
	var body_height = document.body.offsetHeight;//获得body的高度
	var obj = document.getElementById('ie6cover');
	obj.style.height = body_height+'px';
	obj.style.display = 'block';
	
</script>

<![endif]-->
</body>
</html>
